import Vue from 'vue';
import VueRouter from 'vue-router';
import index from '../views/index.vue';
import mapContent from '../views/mapContent.vue';
Vue.use(VueRouter);
const routes = [
    {
        path: '/',
        name: 'index',
        component: index,
    },
    {
        path: '/mapContent',
        name: 'mapContent',
        component: mapContent,
    },
    {
        path: '/dataMagager',
        name: 'dataManager',
        component: () => import('../views/dataManager/dataManager.vue')
    }
];

const router = new VueRouter({
    routes,
});

export default router;
